<template>
  <div class="about">
    <h1>This is an about page</h1>
    <myinput @clear='clear' @input="input" @add='addss' :maxlength='10' :clearable='true'></myinput>
  </div>
</template>
<script>
import myinput from '../components/myinput.vue'
export default {
  name:'about',
  components: {
    myinput
  },
  data() {
    return {
      
    }
  },
  created() {
   
  },
  methods: {
    addss(value) {
    console.log('点击',value);
    },
    clear(){
      console.log('清除');
    },
    input(e){
      console.log('输入');
    }
  },
}
</script>